// package: learn-go
// filename: common
// author: Administrator@gmail.com
// time: 2023/8/21 21:57

package common

import "gitee.com/diogoxiang/learn-go/books/ConcurrencyPattern/task-job-mode/model"

// 状态。目前task、job及plugin共用。
const (
	Running   model.ExecStatus = "running"
	Success   model.ExecStatus = "success"   // 成功
	Failure   model.ExecStatus = "failure"   // 失败
	Aborted   model.ExecStatus = "aborted"   // 取消
	Completed model.ExecStatus = "completed" // 完成，仅task
)
